#include "dunParser.h"
#include "dunCommandParser.h"
#include "dunHeap.h"
#include <stdio.h>

int main (int argc, char *argv[])
{
	/* code */
	t_graph dungeon;
	t_loader data;
	if (argc > 1)
	{
		data = loaderCreate(argv[1]);
		dungeon = parserCreate(data);
		parserComputeRooms(dungeon, data);
		parserComputeHalls(dungeon, data);
		commandWait(dungeon);
	}
	return 0;
}